"To spoil the surprise" means to ruin or reveal beforehand something that was supposed to be a pleasant or exciting unknown.